<style>
</style>
<template>
    <ly-page>
        <ly-navi title="价格输入框"></ly-navi>
        <ly-page-content>
            <el-form label-width="125px" size="small">
                <ly-tip>价格输入框会自动在分和元单位间进行换算</ly-tip>
                <el-form-item label="商品价格" prop="name">
                    <ly-price v-model="price" placeholder="请输入价格"></ly-price>
                </el-form-item>
                <el-form-item label="商品价格" prop="name">
                    <ly-price v-model="price" disabled placeholder="请输入价格"></ly-price>
                </el-form-item>
            </el-form>




            <ly-code-view>
                <pre v-pre>
 <ly-price v-model="price"></ly-price>
<ly-price v-model="price" disabled placeholder="请输入价格"></ly-price>
                </pre>
            </ly-code-view>

            <ly-markdown>
                <pre v-pre>
## `ly-price`
------

#### Attributes

| 属性名  |说明   | 类型|可选值|默认值|
| ------------ | ------------ |------------ |------------ |------------ |
|   v-model | 值	  |- |—	|—	|
|  disabled |  不可用	  |boolean |	|false	|
|  placeholder |  占位文本	  |string |	|请输入价格|
|  size |  大小  |string |正常,large、small 和 mini	|small |



                </pre>
            </ly-markdown>

        </ly-page-content>
    </ly-page>
</template>
<script>
    Rap.define("", [], function () {
        return {
            data: function () {
                return {
                    price: 100
                }
            },
            mounted: function () {

            },
            methods: {}
        }
    })
</script>